//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="ECNDTLM")]
		public class ECNDTLMEntity: EntityObject
		{


#region Field
				private	string _ALT_ITEM="";
				private	string _ASSM_NO="";
				private	string _ECN_ATVT_CODE="";
				private	string _ECN_DT="";
				private	string _ECN_LOCX="";
				private	string _ECN_NO="";
				private	string _ECN_REFX="";
				private	string _ECN_RMKS="";
				private	decimal _ENG_QPE=0;
				private	string _ITEM_NO="";
				private	decimal _QTY_PER=0;
				private	decimal _SCRAP_RATE=0;
				private	Int32 _SERIAL_NO=0;
				private	string _UOM_ENG="";
				private	decimal _UOM_XCHG=0;
				private	decimal _WASTAGE_RATE=0;
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//ECNDTLM,ALT_ITEM
				//</Summary>
				public string ALT_ITEM
				{
					get { return _ALT_ITEM; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ALT_ITEM)
							{
								_ALT_ITEM = value; 
								this.PropertyChange("ALT_ITEM");
							}
						}else{
							_ALT_ITEM = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ASSM_NO
				//</Summary>
				public string ASSM_NO
				{
					get { return _ASSM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ASSM_NO)
							{
								_ASSM_NO = value; 
								this.PropertyChange("ASSM_NO");
							}
						}else{
							_ASSM_NO = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ECN_ATVT_CODE
				//</Summary>
				public string ECN_ATVT_CODE
				{
					get { return _ECN_ATVT_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ECN_ATVT_CODE)
							{
								_ECN_ATVT_CODE = value; 
								this.PropertyChange("ECN_ATVT_CODE");
							}
						}else{
							_ECN_ATVT_CODE = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ECN_DT
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string ECN_DT
				{
					get { return _ECN_DT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ECN_DT)
							{
								_ECN_DT = value; 
								this.PropertyChange("ECN_DT");
							}
						}else{
							_ECN_DT = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ECN_LOCX
				//</Summary>
				public string ECN_LOCX
				{
					get { return _ECN_LOCX; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ECN_LOCX)
							{
								_ECN_LOCX = value; 
								this.PropertyChange("ECN_LOCX");
							}
						}else{
							_ECN_LOCX = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ECN_NO
				//</Summary>
				public string ECN_NO
				{
					get { return _ECN_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ECN_NO)
							{
								_ECN_NO = value; 
								this.PropertyChange("ECN_NO");
							}
						}else{
							_ECN_NO = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ECN_REFX
				//</Summary>
				public string ECN_REFX
				{
					get { return _ECN_REFX; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ECN_REFX)
							{
								_ECN_REFX = value; 
								this.PropertyChange("ECN_REFX");
							}
						}else{
							_ECN_REFX = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ECN_RMKS
				//</Summary>
				public string ECN_RMKS
				{
					get { return _ECN_RMKS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ECN_RMKS)
							{
								_ECN_RMKS = value; 
								this.PropertyChange("ECN_RMKS");
							}
						}else{
							_ECN_RMKS = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ENG_QPE
				//</Summary>
				public decimal ENG_QPE
				{
					get { return _ENG_QPE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ENG_QPE)
							{
								_ENG_QPE = value; 
								this.PropertyChange("ENG_QPE");
							}
						}else{
							_ENG_QPE = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ITEM_NO
				//</Summary>
				public string ITEM_NO
				{
					get { return _ITEM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ITEM_NO)
							{
								_ITEM_NO = value; 
								this.PropertyChange("ITEM_NO");
							}
						}else{
							_ITEM_NO = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,QTY_PER
				//</Summary>
				public decimal QTY_PER
				{
					get { return _QTY_PER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_QTY_PER)
							{
								_QTY_PER = value; 
								this.PropertyChange("QTY_PER");
							}
						}else{
							_QTY_PER = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,SCRAP_RATE
				//</Summary>
				public decimal SCRAP_RATE
				{
					get { return _SCRAP_RATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_SCRAP_RATE)
							{
								_SCRAP_RATE = value; 
								this.PropertyChange("SCRAP_RATE");
							}
						}else{
							_SCRAP_RATE = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,SERIAL_NO
				//</Summary>
				public Int32 SERIAL_NO
				{
					get { return _SERIAL_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_SERIAL_NO)
							{
								_SERIAL_NO = value; 
								this.PropertyChange("SERIAL_NO");
							}
						}else{
							_SERIAL_NO = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,UOM_ENG
				//</Summary>
				public string UOM_ENG
				{
					get { return _UOM_ENG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_ENG)
							{
								_UOM_ENG = value; 
								this.PropertyChange("UOM_ENG");
							}
						}else{
							_UOM_ENG = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,UOM_XCHG
				//</Summary>
				public decimal UOM_XCHG
				{
					get { return _UOM_XCHG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_XCHG)
							{
								_UOM_XCHG = value; 
								this.PropertyChange("UOM_XCHG");
							}
						}else{
							_UOM_XCHG = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,WASTAGE_RATE
				//</Summary>
				public decimal WASTAGE_RATE
				{
					get { return _WASTAGE_RATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WASTAGE_RATE)
							{
								_WASTAGE_RATE = value; 
								this.PropertyChange("WASTAGE_RATE");
							}
						}else{
							_WASTAGE_RATE = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//ECNDTLM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
